set(playmidi_srcs
    playmidi.cpp
)

set(playmidi_libDirs
    .
)

set(playmidi_libs
    improv
)

include_directories(../improv .)

if(WIN32)
    add_definitions(-DVISUAL)
else(WIN32)
    if(UNIX)
        add_definitions(-DLINUX)
    endif(UNIX)
endif(WIN32)

add_executable(playmidi ${playmidi_srcs})

target_link_libraries(playmidi ${playmidi_libs})

link_directories(${playmidi_libDirs})
